package com.zhibang.sinocare.dict;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.CrossOrigin;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableSwagger2
@MapperScan("com.zhibang.sinocare.dict.dao")
@CrossOrigin
@ComponentScan("com.zhibang.sinocare")
public class DictApplication {
    public static void main(String[] args) {
        SpringApplication.run(DictApplication.class);
    }
}
